<?php

namespace app\admin\model;

use app\common\model\TimeModel;

class MallWithdrawRecord extends TimeModel
{

    protected $name = "mall_withdraw_record";

    protected $deleteTime = "delete_time";
    /**
     * 审核时间
     * @var string
     */
    protected $approveTime = 'approve_time';
    /**
     * 打款时间
     * @var string
     */
    protected $payTime = 'pay_time';
    
    public function user()
    {
        return $this->hasOne('app\admin\model\MallUser', 'id', 'user_id');
    }
    

}